package com.hsh.maoduo.service;

import com.hsh.maoduo.common.Result;
import com.hsh.maoduo.pojo.entity.Supplier;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hsh.maoduo.pojo.dto.SupplierDTO;
import com.hsh.maoduo.pojo.vo.SupplierVO;

import java.util.List;

/**
* @author USER
* @description 针对表【supplier】的数据库操作Service
* @createDate 2023-12-23 16:35:07
*/
public interface SupplierService extends IService<Supplier> {

    List<SupplierDTO> getList(SupplierVO supplierVO);

    Result addOne(SupplierVO supplierVO);

    Result update(SupplierVO supplierVO);

    Result delete(int id);
}
